Finds all instances that match the specified search criteria.
public ControllerReturnCode FindInstances(
string patientId,
string studyInstanceUid,
string seriesInstanceUid,
List<InstanceInfo> instances,
int maxQueryResults
)
patientId
The Patient ID for which to search.
studyInstanceUid
The Study Instance UID (Unique ID) for the study.
seriesInstanceUid
The Series Instance UID (Unique ID) for the series.
instances
List of InstanceInfo objects that will be updated with the results of the search.
maxQueryResults
Specifies the maximum number of results to return.
A ControllerReturnCode value indicating the results of the search.
This method is similar to FindInstances(string,string,string,List{InstanceInfo}), but allows you to pass a value for maxQueryResults that puts a limit on the number of results returned. This is useful for querying large databases, where the results returned could be unpredictably large.
Pass 0 for maxQueryResults if you do not want to limit the number of results returned.